<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<title>Insert title here</title>
</head>
<body>
     <%request.setCharacterEncoding("UTF-8"); %>
     <%if(request.getAttribute("msg")!=null) {%>
     <%=request.getAttribute("msg") %>
     <%} %>
	<form action="LoginAction" method="post">
	    用户类型：<select name="Type" id="Type" >
	    <option value="系统管理员">系统管理员</option>
	    <option value="宿舍管理员">宿舍管理员</option>
	    <option value="学生">学生</option></select>
		用户名：<input type="text" name="username"><br> 
		密码：<input type="password" name="password"><br> 
		    <input type="submit" value="提交"> <input type="reset" value="重置">
	</form>
</body>
</html>